package com.mes.cloud.threadlocal;

import org.springframework.jdbc.core.JdbcTemplate;

/**
 *
 */
public class JdbcContext {
    public static final String JDBC = "JDBC";

    public static JdbcTemplate getJdbcTemplate(){
        return (JdbcTemplate) BaseContextHandler.get(JDBC);
    }

    public static void setJdbcTemplate(JdbcTemplate jdbcTemplate){
        BaseContextHandler.set(JDBC,jdbcTemplate);
    }
}
